-
-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --no-provision flag #1922
Add --no-provision flag #1922
Conversation
9bd6b6b
to
b4b691d
Compare
b4b691d
to
e0d0b29
Compare
a2075da
to
ab293cf
Compare
Docs added. I've discovered there is no way to reference an command line option: sphinx-contrib/autoprogram#8 |
Hence why I've created https://pypi.org/project/sphinx-argparse-cli/ already used by the rewrite branch. We could migrate this too. |
I would not block this on it. Working on tests. |
tox can now be invoked with a new --no-provision flag that prevents provision, if requires or minversion are not satisfied, tox will fail; if a path is specified as an argument to the flag (e.g. as `tox --no-provision missing.json`) and provision is prevented, provision metadata are written as JSON to that path. Fixes tox-dev#1921
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! When writing the docs, I've assumed this will be released as 3.23.0, correct? |
https://github.com/tox-dev/tox/pull/1952/files looks like it |
tox can now be invoked with a new --no-provision flag that prevents provision, if requires or minversion are not satisfied, tox will fail; if a path is specified as an argument to the flag (e.g. as `tox --no-provision missing.json`) and provision is prevented, provision metadata are written as JSON to that path. Fixes tox-dev#1921
Add --no-provision flag
tox can now be invoked with a new --no-provision flag that prevents provision,
if requires or minversion are not satisfied, tox will fail;
if a path is specified as an argument to the flag
(e.g. as
tox --no-provision missing.json
) and provision is prevented,provision metadata are written as JSON to that path.
Fixes #1921
Contribution checklist:
(also see CONTRIBUTING.rst for details)
in message body
<issue number>.<type>.rst
for example (588.bugfix.rst)<type>
is must be one ofbugfix
,feature
,deprecation
,breaking
,doc
,misc
<your username>
"superuser
."CONTRIBUTORS
(preserving alphabetical order)